package com.qinglei.recoup.system.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@ApiModel(description = "分页对象")
public class PageVO<T> implements Serializable {
    @ApiModelProperty("总条目数")
    private Long total = 0L;
    @ApiModelProperty("数据列表")
    private List<T> rows = Collections.emptyList();
}
